<div style="width: 660px;height: 400px;overflow-y: scroll">

    <section ng-init="tab=1">
        <div>
             <a href ng-click="tab=1" ng-class="{active:tab===1}">服务信息</a>
             <a href ng-click="tab=2" ng-class="{active:tab===2}" style="padding-left: 10px">攻击监测信息</a>

        </div>

        <div class="panel" ng-show="tab===1" style="margin-top: 30px;">{{ bleservice }}</div>
        <div class="paimai_list" ng-show="tab==2">
            <div class="paimai_content" ng-repeat="a in attackmessage">
                <div class="list_head">
                    <div class="time_box" style="width: 170px">{{ a.time }}</div>
                    <div class="clear">
                </div>
            </div>
            <div class="list_content">
                <p>攻击者：{{ a.master }} 被攻击设备：{{ a.slave }} 攻击类型:{{ a.attack_type }}</p>
            </div>

           </div>
        </div>
    </section>
</div>